package com.hyts.distlock.lock;

/**
 * project-name:coffice-toolbox
 * package-name:com.hyts.distlock.lock
 * author:Libo/Alex
 * create-date:2019-05-11 08:55
 * copyright:libo-hyts-github
 * email:libo2dev@aliyun.com
 * description:此类主要用于: 基础结构锁对象
 */
public abstract class BaseLock<T> {

    /**
     * 安装Lock客户端的对象
     */
    private T lockObjectClient;
    /**
     * Lock对象构造器
     * @param lockObjectClient
     */
    public BaseLock(T lockObjectClient){
        this.lockObjectClient = lockObjectClient;
    }


    public T getLockObjectClient() {
        return lockObjectClient;
    }

}
